package com.nvshen.zhangmeiying.utils;

import android.app.ProgressDialog;
import android.content.Context;

/**
 * Created by wxc on 14-7-8.
 */
public class NetDialogUtils {
    private static ProgressDialog dialog;
    public static void showProgressDialog(Context context,String content){
        dialog = new ProgressDialog(context);
        dialog.setTitle("提示");
        dialog.setMessage(content);
        dialog.show();
    }

    public static void dissmissProgressDialog(){
        if(dialog!=null){
            dialog.dismiss();
        }
    }
}
